/*
 * @Author: yuyunhao
 * @Date: 2021-10-12 17:58:01
 * @LastEditTime: 2021-10-18 13:52:57
 * @LastEditors: yuyunhao
 * @Description: 
 * @FilePath: \react_try\src\main.js
 * 代码都是复制过来的，怎么会出错
 */
import React from 'react'
import ReactDom from 'react-dom'
import App from './App.jsx'
import { BrowserRouter as Router, Route, Link, Routes } from 'react-router-dom';
import Test from './components/Test/Test.jsx'


ReactDom.render(
    <Router basename="/xly-poc/webide/workbench/11593/port/3000">
        <Link to="/test">go to test</Link>
        <Routes>
            <Route path="/" element={<App></App>} />
            <Route path="test" element={<Test></Test>} />
        </Routes>
    </Router>
    ,
    document.getElementById('root')
)
